﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.master" AutoEventWireup="true" CodeFile="WebFormatoDoc1.aspx.cs" Inherits="WebFormatoDoc1" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" Runat="Server">
    <form id="Formulario1" runat="server">
    <asp:HiddenField ID="HiddenField1" runat="server" />
    <asp:HiddenField ID="HiddenField2" runat="server" />
    <asp:HiddenField ID="HiddenField3" runat="server" />
    <asp:HiddenField ID="HiddenField4" runat="server" />
        <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>

    
             <table>    
                <tr class="td2">
                    <td>

                        <table>

                                <caption>

                                    <tr>
                                        <td>
                                            <b>Tipo Formato:</b>
                                        </td>
                                        <td>
                                            <asp:Label ID="lblTipoDocumento" runat="server" Font-Bold="True" 
                                                Font-Size="Large" Text="Tipo Documento"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>Proposito:</b></td>
                                        <td>
                                            <asp:TextBox ID="txtProposito" runat="server" Height="65px" TextMode="MultiLine" 
                                                Width="487px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>Alcances:</b></td>
                                        <td>
                                            <asp:TextBox ID="txtAlcances" runat="server" Height="65px" TextMode="MultiLine" 
                                                Width="487px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>Terminos y definiciones:</b></td>
                                        <td>
                                            <asp:TextBox ID="txtTerminosDef" runat="server" Height="65px" TextMode="MultiLine" 
                                                Width="487px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>Responsabilidad y autoridad:</b></td>
                                        <td>
                                            <asp:TextBox ID="txtResponsa" runat="server" Height="65px" TextMode="MultiLine" 
                                                Width="487px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>Contenido:</b></td>
                                        <td>
                                            <asp:TextBox ID="txtContenido" runat="server" Height="65px" TextMode="MultiLine" 
                                                Width="487px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>Pasos Diagrama:</b></td>
                                        <td>
                                            <asp:TextBox ID="txtPasosD" runat="server" Height="65px" TextMode="MultiLine" 
                                                Width="487px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>Registros:</b></td>
                                        <td>
                                            <asp:TextBox ID="txtRegistros" runat="server" Height="65px" TextMode="MultiLine" 
                                                Width="487px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>Anexos:</b></td>
                                        <td>
                                            <asp:TextBox ID="txtAnexos" runat="server" Height="65px" TextMode="MultiLine" 
                                                Width="487px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>Referencias:</b></td>
                                        <td>
                                            <asp:TextBox ID="txtReferencias" runat="server" Height="65px" TextMode="MultiLine" 
                                                Width="487px"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>Historial de cambios:</b></td>
                                        <td>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>
                                            <b>Panel de control de documento:</b></td>
                                        <td>
                                        </td>
                                    </tr>
                                    <caption>
                                        |<tr>
                                            <td>
                                                <asp:LinkButton ID="lnkRegresar" runat="server" onclick="lnkRegresar_Click">Guarda y Regresar</asp:LinkButton>
                                                <br />
                                                <asp:LinkButton ID="lnkCancelar" runat="server">Cancela y Regresar</asp:LinkButton>
                                            </td>
                                            <td>
                                                <b>Cargar Diagrama de flujo: </b>&nbsp;
                                                <asp:FileUpload ID="FileUpload1" runat="server" />
                                            </td>
                                            <td>
                                                <asp:LinkButton ID="lnkPasosDiagrama" runat="server">Agregar pasos al diagrama</asp:LinkButton>
                                            </td>
                                        </tr>
                                        <tr>
<%--                                            <td>
                                                <asp:LinkButton ID="lnkRegistro" runat="server">Registros</asp:LinkButton>
                                            </td>--%>
<%--                                            <td>
                                                <asp:LinkButton ID="lnkAnexos" runat="server">Anexos</asp:LinkButton>
                                            </td>--%>
<%--                                            <td>
                                                <asp:LinkButton ID="lnkReferencias" runat="server">Referencias</asp:LinkButton>
                                            </td>--%>
                                        </tr>
                                        <tr>
                                            <td>
                                                <asp:Label ID="lblError" runat="server" Text=""></asp:Label>
                                            </td>
                                        </tr>
                                    </caption>
                                </caption>
                        </table>

                    </td>
                </tr>
            </table>


            <asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server"
            TargetControlID="lnkPasosDiagrama"
            PopupControlID="pasosEdit"
            BackgroundCssClass="modalBackground"
            CancelControlID="btnCancel"
            PopupDragHandleControlID="panEdit">
            </asp:ModalPopupExtender>


        <asp:Panel ID="pasosEdit" runat="server" Height="180px" Width="800px" CssClass="ModalWindow">
        <h1>Pasos diagrama</h1>
        <table width="100%">
            <tr>
                <td ><b>Paso</b></td>
                <td> <b>Actividad</b></td>
                <td><b>Responsable</b></td>
            </tr>
            <tr>
                <td>
                    <asp:TextBox ID="txtFields1" runat="server" ></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="TextBox5" runat="server" TextMode="MultiLine" ></asp:TextBox>
                </td>
                <td>
                    <asp:TextBox ID="TextBox6" runat="server" TextMode="MultiLine" ></asp:TextBox>
                </td>
            </tr>           
       </table>
       <br />
       <asp:Button ID="btnGuardarPasos" runat="server" Text="Update" onclick="btnGuardarPasos_Click"  />
       <asp:Button ID="btnCancel" runat="server" Text="Cancel" />
       </asp:Panel>


        </ContentTemplate>
        </asp:UpdatePanel>



       </form>
</asp:Content>

